<%@ page import="com.atguigu.pojo.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
  EL表达式取出域对象的数据，数据存储的是pojo对象
--%>
<%
    User user = new User(1,"张三","123");
    //user对象，存储在最小的域对象中
    pageContext.setAttribute("user",user);
%>
<%--EL 表达式取出数据，直接写对象的字段名--%>
${user.id}  ${user.username} ${user.password}
</body>
</html>
